/* Navbar background and links hover effect */
.custom-navbar {
  background: linear-gradient(45deg, #1f4037, #99f2c8);
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: sticky; /* Makes the navbar sticky */
  top: 0; /* Sticks the navbar to the top */
  z-index: 1000; /* Ensures the navbar stays on top of other content */
  }
  
  .custom-navbar .nav-link {
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s ease;
  }
  
  /* Hover effect for nav links */
  .custom-navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    color: #f2f2f2;
    transform: scale(1.05);
  }
  
  /* Active link effect */
  .custom-navbar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }
  
  /* Search button styling */
  .custom-btn {
    color: white;
    border-color: #28a745;
    transition: all 0.3s ease;
  }
  
  /* Search button hover effect */
  .custom-btn:hover {
    background-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
    color: white;
  }
  
  /* Search input styling */
  .form-control {
    border-radius: 20px;
    border: 2px solid #28a745;
    box-shadow: inset 0 0 10px rgba(40, 167, 69, 0.3);
  }
  
  .form-control:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
  }
  
  /* Navbar Brand Logo */
  .navbar-brand img {
    border-radius: 50%;
    transition: transform 0.3s ease;
  }
  
  /* Logo hover effect */
  .navbar-brand img:hover {
    transform: rotate(360deg);
  }
  
  /* Navbar background shine effect */
  .custom-navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
    opacity: 0;
  }
  
  .custom-navbar:hover::after {
    left: 150%;
    opacity: 1;
  }
  



 /* carousel start */
/* General Carousel Styling */
.carousel-inner img {
  width: 100%;
  height: 80vh;
  object-fit: contain; /* Changed to 'contain' to avoid cutting images */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #09aa74;
}

.carousel {
  margin-top: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: #7c4dff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #ffd700;
  width: 12px;
  height: 12px;
}

/* Controls Styling */
.carousel-control-prev, 
.carousel-control-next {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
}

/* Media Queries for Mobile */
@media only screen and (max-width: 768px) {
  .carousel-inner img {
      height: 60vh; /* Slightly reduce height on tablets */
  }
}

@media only screen and (max-width: 480px) {
  .carousel-inner img {
      height: 50vh; /* Further reduce height on mobile phones */
  }
}
/* carsoule end */





  body {
    background-color: #f7f7f7;
    font-family: Arial, sans-serif;
    color: #333;
}

.header {
    text-align: center;
    margin: 50px 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2C3E50;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #000; /* Black color for headings */
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase; /* Capitalizes all headings */
}

p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.shine {
    background: linear-gradient(90deg, rgba(255, 223, 0, 0.6) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 223, 0, 0.6) 100%);
    animation: shine 2s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 30px; /* Spacing between cards */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

a {
    color: #007bff; /* Blue color for links */
    text-decoration: none; /* Remove underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .header {
        margin: 30px 0; /* Reduce margin on smaller screens */
    }
}



/* Footer full-width and shine effect */
.container-fluid.p-0 {
  width: 100%;
  padding: 0;
}

footer {
  position: relative;
  padding: 20px 0; /* Adjust padding to reduce footer height */
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
  transition: all 1.5s ease;
  opacity: 0;
}

footer:hover::before {
  left: 150%;
  opacity: 1;
}

/* Footer content styling */
footer h6 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px; /* Reduce gap */
}

footer p, footer a {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px; /* Reduce gap between elements */
}

footer a:hover {
  color: #7c4dff;
  text-decoration: none;
}

/* Social icons */
footer .fab {
  font-size: 20px;
  animation: blink 1.5s infinite;
}

footer .fab:hover {
  color: #7c4dff;
}

/* Blink animation */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Subscribe button */
footer .btn {
  animation: blink-button 1.5s infinite;
}

footer .btn:hover {
  color: #7c4dff;
}

/* Blink button animation */
@keyframes blink-button {
  0%, 100% {
    background-color: #007bff;
    color: white;
  }
  50% {
    background-color: #0056b3;
    color: #e0e0e0;
  }
}

/* Footer container padding adjustment */
footer .container {
  max-width: 100%;
  padding: 20px 15px; /* Reduce padding for less height */
}

/* Blog post styling */
.blog-post {
  margin-bottom: 15px; /* Reduce space between blog posts */
}

.blog-post img {
  max-width: 100%;
  height: auto;
}

.blog-post p {
  margin: 5px 0;
}

/* Footer logo size */
.footer-logo {
  max-width: 120px; /* Adjust logo size */
}

/* Reducing extra gaps between blog posts */
.blog-post {
  margin-bottom: 15px;
}

.blog-post img {
  max-width: 100%;
  height: auto;
}

.blog-post p {
  margin: 5px 0;
}
